package cn.iocoder.yudao.module.trade.controller.app.giftcard.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "用户 App - 礼品卡创建选择的商品信息 Request VO")
@Data
public class AppGiftCardSpuReqVO {

    @Schema(description = "商品spu id", requiredMode = Schema.RequiredMode.REQUIRED, example = "")
    @NotNull(message = "商品spu id不能为空")
    private Long spuId;

    @Schema(description = "商品sku id", requiredMode = Schema.RequiredMode.REQUIRED, example = "")
    @NotNull(message = "商品sku id不能为空")
    private Long skuId;

    @Schema(description = "商品个数", requiredMode = Schema.RequiredMode.REQUIRED, example = "")
    @NotNull(message = "商品个数 不能为空")
    private Integer num;

    @Schema(description = "规格图片", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "")
    private String skuPicUrl;

}
